Platform Explorer / Nuxeo Platform 2021.64

Operation Document.AddACE (Set ACL)

Description

Set Acces Control Entry on the input document(s). Returns the document(s).
Operation id Document.AddACE
AliasesDocument.SetACE
Category Document
Label Set ACL
Requires
Since

Parameters

Name Description Type Required Default value
permission string yes  
user string yes  
acl string no local 
grant boolean no true 
overwrite boolean no true 

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.SetDocumentACE
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.AddACE",
  "aliases" : [ "Document.SetACE" ],
  "label" : "Set ACL",
  "category" : "Document",
  "requires" : null,
  "description" : "Set Acces Control Entry on the input document(s). Returns the document(s).",
  "url" : "Document.AddACE",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "permission",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "user",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "acl",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "local" ]
  }, {
    "name" : "grant",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  }, {
    "name" : "overwrite",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}